package cn.dgut.training.emun;

import lombok.Getter;

@Getter
public enum OrderStatusEnum {
    WAITING_FOR_PAYMENT(1, "未付款"),
    WAITING_FOR_DELIVERY(2, "待发货"),
    WAITING_FOR_RECEIVED(3, "待收货"),
    WAITING_FOR_EVALUATION(4, "用户收货"),
    SUCCESSFUL_TRADE(5, "完成交易"),
    PAY_FOR_GROUPBUY(6,"已付款团购"),
    CANCELLATION_OF_USER(-1, "用户取消"),
    CANCELLATION_OF_SYSTEM(-3, "系统取消"),
    GROUPBUY_OVERTIME(-4,"已超时团购"),
    APPLY_FOR_REFUND(-5,"申请退款"),
    REFUND_FINISH(-6,"已退款")
    ;


    OrderStatusEnum(Integer value,String title){
         this.value=value;
         this.title=title;
    }
    private Integer value;
    private String title;
}
